package cn.schoolwow.quickflow.exception;

/**主流程抛出的异常*/
public class QuickFlowRuntimeException extends RuntimeException{
    public Exception targetException;

    public QuickFlowRuntimeException(Exception e) {
        super((e instanceof NullPointerException?"空指针异常":e.getMessage()));
        super.initCause(e);
        this.targetException = e;
    }

}
